<script setup>
import {onMounted, ref} from "vue";

const time = ref(new Date())

onMounted(() => {
  // 获取对应的配置信息
  setTimeout(()=>{
    time.value = new Date()
  },20)
});

</script>

<template>
  <n-flex justify="center">
    <n-time :time="time" style="color: #58a363"/>
  </n-flex>
</template>

<style scoped>

</style>
